﻿using B.S.BasicData.Api.Read.Dtos;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.MyLogs
{
    /// <summary>
    /// 查询命令(查询条件)
    /// </summary>
    public class GetLogCommand : IRequest<ApiPaging<LogDto>>
    {
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } 
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

    }
}
